package com.zrrd.mybatisplusFirst.utils;

import lombok.experimental.Accessors;

/**
 * @author WanJl
 * @version 1.0
 * @title ABC
 * @description  链式编程
 * @create 2024/3/30
 */
public class ABC {
    public ABC method1() {
        System.out.println("方法1");
        return null;
    }

    public ABC method2() {
        System.out.println("方法2");
        return null;
    }

    public ABC method3() {
        System.out.println("方法3");
        return null;
    }

    public ABC method4() {
        System.out.println("方法4");
        return null;
    }

    public ABC method5() {
        System.out.println("方法5");
        return null;
    }

    public static void main(String[] args) {
        ABC abc = new ABC();
        ABC abc1 = abc.method1();
        ABC abc2 = abc1.method2();
        ABC abc3 = abc2.method3();
    }

}
